[IA64] Fix a few warnings.
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 27 Jun 2006 22:42:41 +0000 (16:42 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 27 Jun 2006 22:42:41 +0000 (16:42 -0600)
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
xen/arch/ia64/xen/pcdp.c

index 541bbaca332f05845989401d5355e04c4df8d6c3..6c97d87f3cf00d1a689c9b5460b5b3197754ad21 100644 (file)
@@ -47,7 +47,7 @@ pcdp_hp_irq_fixup(struct pcdp *pcdp, struct pcdp_uart *uart)
        struct acpi_table_header *hdr;
        int i;
 
-       if (pcdp->rev >= 3 || strcmp(pcdp->oemid, "HP"))
+       if (pcdp->rev >= 3 || strcmp((char *)pcdp->oemid, "HP"))
                return;
 
        /*
@@ -130,7 +130,7 @@ setup_pcdp_irq(struct pcdp *pcdp, struct pcdp_uart *uart)
                        ns16550_com1.irq = ns16550_com1_gsi = uart->gsi;
                        ns16550_com1_polarity = IOSAPIC_POL_LOW;
                        ns16550_com1_trigger = IOSAPIC_LEVEL;
-               } else if (!strcmp(pcdp->oemid, "HP"))
+               } else if (!strcmp((char *)pcdp->oemid, "HP"))
                        pcdp_hp_irq_fixup(pcdp, uart);
        }
 }